/**********************************************************************************************************************
 *
 * Project:    mGameEngine
 * File:       meshfactory.h
 * Author:     karooolek
 * Created on: 2009-03-25
 *
 **********************************************************************************************************************/

#ifndef MODELFACTORY_H_
#define MODELFACTORY_H_

#include "mesh.h"

namespace mGameEngine
{
namespace Graphics
{

/**
 * Mesh factory base class.
 */
class MeshFactory
{
protected:
    /**
     * Created mesh
     */
    Mesh *_mesh;

public:
    /**
     * Create mesh factory.
     */
    MeshFactory();

    /**
     * Destroy mesh factory.
     */
    virtual ~MeshFactory();

    /**
     * Get created mesh.
     * @return created mesh
     */
    Mesh *getMesh() const
    {
        return _mesh;
    }
};

}
}

#endif // MODELFACTORY_H_
